package com.fare.taluo.auth.domain.repository;

import com.fare.taluo.auth.domain.UserInfoEntity;
import com.fare.taluo.base.ddd.repository.IBaseRepository;

public interface IUserInfoRepository extends IBaseRepository {
	/**
	 * 获得登陆帐号对应的用户信息
	 * @param logonId
	 * @return
	 */
	public UserInfoEntity getUserInfoByLogonid(String logonId);
	
	/**
	 * 检查户是否存在
	 * @param ids email username
	 * @return
	 */
	public boolean queryIsExist(Long ids,String email,String username);

	public void saveOrUpate(UserInfoEntity entity);
	
	
	
}
